package com.teamsun.entity;

import io.jsonwebtoken.Claims;

/**
 * <p>Token验证结果</p>
 */
public class TokenCheckResult {

    private boolean success;

    private String errorCode;

    private Claims claims;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public Claims getClaims() {
        return claims;
    }

    public void setClaims(Claims claims) {
        this.claims = claims;
    }
}
